<?php

namespace db;

final class DatabaseConfig {
	private $name;
	private $host;
	private $username;
	private $password;

	function setName($name) {
		$this->name = $name;
		return $this;
	}

	function getName() {
		return $this->name;
	}

	function setHost($host) {
		$this->host = $host;
		return $this;
	}

	function getHost() {
		return $this->host;
	}
	
	function setUsername($username) {
		$this->username = $username;
		return $this;
	}
	
	function getUsername() {
		return $this->username;
	}

	function setPassword($password) {
		$this->password = $password;
		return $this;
	}

	function getPassword() {
		return $this->password;
	}
}